package cn.school.localization.entity;

import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @className: StudentPositionDo
 * @author: Alex
 * @date: 2023/3/25
 **/
@Data
@TableName(value = "t_student_locus")
public class StudentPositionDo {
	private Long id;
	
	@TableField(value = "student_id")
	private String studentId;
	
	@TableField(value = "address")
	private String address;
	
	@TableField(value = "longitude")
	private String longitude;
	
	@TableField(value = "latitude")
	private String latitude;
	
	@TableField(value = "description")
	private String description;
	
	@TableField(value = "create_time")
	private Date createTime;
	
	@TableField(value = "create_by")
	private String createBy;
	
	@TableField(value = "update_time")
	private Date updateTime;
	
	@TableField(value = "update_by")
	private String updateBy;
	
	@TableField(value = "deleted")
	private Integer deleted;
	/**
	 * 默认租户为当前登录人的租户
	 */
	private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
